package com.zmn.oms.business.interfaces.work;

import com.zmn.oms.model.entity.work.OrderWorkRelation;

/**
 * @author fubiao
 * @since 2022年03月23日 10:33
 */
public interface OrderWorkRelationBService {

    /**
     * 增加一条
     *
     * @param workRelation
     * @return
     */
    Integer addOrderWorkRelation(OrderWorkRelation workRelation);

    /**
     * 删除一条
     *
     * @param orderId
     * @param workId
     * @param type
     * @return
     */
    Integer deleteOrderWorkRelationByWorkIdAndType(Long orderId, Long workId, Integer type);
}
